﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Web;

namespace SHDQGSWEB.Models
{
    public class PlayerInfo
    {
        public string Addr { get; set; }

        public string Type { get; set; }

        public int Width { get; set; }

        public int Height { get; set; }

        public string FileName { get; set; }

        public PlayerInfo(string addr, string type,int width,int height)
        {
            Width = width;
            Height = height;
            Addr = addr;
            Type = type;
            FileName = Path.GetFileName(addr);
        }
    }
}